package org.hao.samples.dao;

import java.util.List;

import org.hao.samples.model.PagerModel;
import org.hao.samples.model.Student;
import org.hao.samples.model.StudentVO;
import org.springframework.stereotype.Repository;

@Repository
public interface IStudentDAO extends IBaseDAO<Student> {
	public List<Student> findAllStudent();

	public void createStudent(Student student) throws Exception;

	public Student getUserById(Integer id);

	public void editStudent(Student student) throws Exception;

	public void deleteStudent(Integer id) throws Exception;

	public List<Student> getAllUserBySubject(Integer id);
	
	public PagerModel<StudentVO> findAllByPage(); 
}
